package com.tiles.service;

import com.tiles.entity.TilesUser;

import java.util.List;

public interface TilesUserService {
    //    根据用户名查找该记录
    int selectByUserName(String username);
    //    添加用户
    void insertTilesUser(TilesUser tilesUser);
    //查询用户名和密码
    int selectUserByNameAndPassword(String username, String password);

    List<TilesUser> selectUserAll();

    void updateToken(TilesUser tilesUser);

    int selectUserEmail(String email);
}
